package com.mes.rule.manager;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import com.mes.common.manager.BasicManager;
import com.mes.common.dao.iface.IBasicDao;
import com.mes.rule.manager.iface.IRuleManager;
import com.mes.rule.dao.RuleDao;
import com.mes.rule.domain.Rule;

@Component
public class RuleManager extends BasicManager<Rule> implements IRuleManager {
	
	@Autowired
	private RuleDao ruleDao;
	
	@Override
	@Autowired
	@Qualifier("ruleDao")
	public void setBasicDao(IBasicDao<Rule> basicDao) {
		// TODO Auto-generated method stub
		super.setBasicDao(basicDao);
	}
}
